using System;
using System.Runtime.InteropServices;

namespace WindowsAPI
{
    [StructLayout(LayoutKind.Sequential)]
    public struct KeyboardInput
    {
        public VirtualKeyShort VirtualKeyCode;
        public ScanCodeShort ScanKeyCode;
        public KeyEventF Flags;
        public uint Time;
        public IntPtr ExtraInfo;
    }

    [Flags]
    public enum KeyEventF : uint
    {
        EXTENDEDKEY = 0x0001,
        KEYUP = 0x0002,
        SCANCODE = 0x0008,
        UNICODE = 0x0004
    }
}